package cn.shujuhai.cms.domain;

import cn.shujuhai.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName struct
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "struct")
@Data
public class Struct extends BaseDomain {
    /**
     *
     */
    @TableId(value = "struct_id", type = IdType.AUTO)
    private Long structId;

    /**
     *
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "name_en")
    private String nameEn;

    /**
     *
     */
    @TableField(value = "sort")
    private Long sort;
    @TableField(exist = false)
    List<StructParam> structParamList;

}